<template>
  <view class="container">
      <web-view src="https://test777888.gitee.io/vue2-vant-template-h5/#/home" />
      <!-- <web-view @onPostMessage="handleMessage" src="http://192.168.10.104:9527/vue2-vant-template-h5/#/home" /> -->
  </view>
</template>

<script>

  export default {
    data() {
      return {
      }
    },
    onLoad() {
    },
    onReady() {
    },
    methods: {
      handleMessage(res) {
        this.$tab.reLaunch('/pages/index')
        // setTimeout(function() {
        //   window.uni.reLaunch({
        //     url: '/pages/index'
        //   });
        // }, 500);
      }
    }
  }
</script>

<style lang="scss">

</style>
